FROM python:3.8

COPY . /app/talent-kexie/

WORKDIR /app/talent-kexie
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8081"]